﻿using System.Linq;
using System.Collections.Generic;

namespace Simply.DataTier.Repository.Interface
{
    public interface IRepository<T>
    {
        List<T> GetAll();
        T GetById(long id);
        bool Save(T entity);
        bool Delete(T entity);
    }
}
